class CreatePeople < ActiveRecord::Migration
  def self.up
    create_table :people do |t|
      t.string :first_name
      t.string :last_name
      t.string :street
      t.string :house_number
      t.string :postcode
      t.integer :city_id
      t.string :personal_number
      t.string :phone
      t.string :email
      t.text :comment
      t.boolean :deleted, :default => 0
      t.timestamps
    end
  end

  def self.down
    drop_table :people
  end
end
